package system.agent;

import system.util.message.Message;

public interface CommunicationAgentInterface {

	/**
	 * Method called by another agent to send a message to the current agent.
	 */
	public void handleMessage(Message message);

	/**
	 * Return the name of the agent
	 * @return the name of the agent
	 */
	public String getAgentName();
	
	/**
	 * Return the current port of the agent
	 * @return the current port of the agent
	 */
	public int getCurrentPort();
	
}
